package db.connectionPool;


import javax.swing.JOptionPane;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Levix
 */
public class DBNotFoundException  extends Exception{
    String message="Database not found  :S";

    public DBNotFoundException(){
        executeRoutine();
    }

    private void executeRoutine(){
          this.showFatalMessage();
    }

    private void showFatalMessage(){
           JOptionPane.showMessageDialog(null, message, "Error",
                JOptionPane.ERROR_MESSAGE);
    }


}
